load("@rules_cc//cc:defs.bzl", "cc_binary")
load("//bzl:cpp_library.bzl", "cpp_library")

package(default_visibility = ["//visibility:public"])

cc_binary(
    name = "test_main",
    deps = [
        ":test_main_lib",
    ],
)

cpp_library(
    name = "test_main_lib",
    srcs = ["TestMain.cpp"],
    deps = [
        "//folly:portability",
        "//folly/init",
        "//folly/portability:gflags",
        "//folly/portability:gtest",
        "@glog",
    ],
)
